package com.cloud.sentinel.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "sentinelDemo",fallback = TestServiceImpl.class)
@Service
public interface TestService {

    @GetMapping("/feign")
    String feign(@RequestParam String str);

}
